package com.func;

import java.util.List;

import com.Server;

/**
 * @author yinmage
 * @date 2022/08/03
 */
public class Random extends Request {

    @Override
    Server getServer() {
        List<Server> serverList = getList();
        int i = new java.util.Random().nextInt(serverList.size());
        return serverList.get(i);
    }

}
